﻿<%@ Page PathInChannel="url/{ID}.aspx" Object="Download.Url" RunAt="Execute" %>
<%@ OutputCache Duration="86400" VaryByParam="none" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- TemplateInfo codeOutsideHTMLIsLocked="true" -->
<ali:Get ID="DownloadUrl" Object="Download.Url" InnerID="Request.QueryString['ID']" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script language="c#" runat="server">
protected override void OnLoad(EventArgs e)
{
	using (AliCMS.DownModule.Download.IUrl bll = (AliCMS.DownModule.Download.IUrl)Manager.CreateObject("Download.Url", InstanceID, PageLang, false))
	{
		bll.IncrementDownCount(Convert.ToInt32(Request.QueryString["ID"]));
	}
	Response.Redirect(Convert.ToString(DownloadUrl[Alias.Download.Url.URL]));
}
</script>
</head>
<body>
</body>
</html>